github.com/golang/protobuf/proto.token.value (field)
62 uses
github.com/golang/protobuf/proto (current package)
text_decode.go#L76: value string
text_decode.go#L107: if tok.value == terminator {
text_decode.go#L110: if tok.value == "[" {
text_decode.go#L118: name := protoreflect.Name(tok.value)
text_decode.go#L184: if tok.value == ":" {
text_decode.go#L192: switch tok.value {
text_decode.go#L198: return p.errorf("expected '{' or '<', found %q", tok.value)
text_decode.go#L263: if tok.value == "" {
text_decode.go#L271: if tok.value == "[" {
text_decode.go#L285: if tok.value == "]" {
text_decode.go#L288: if tok.value != "," {
text_decode.go#L289: return v, p.errorf("Expected ']' or ',' found %q", tok.value)
text_decode.go#L310: switch tok.value {
text_decode.go#L316: return v, p.errorf("expected '{' or '<', found %q", tok.value)
text_decode.go#L330: if tok.value == terminator {
text_decode.go#L334: switch tok.value {
text_decode.go#L357: return v, p.errorf(`expected "key", "value", or %q, found %q`, terminator, tok.value)
text_decode.go#L373: if tok.value == "" {
text_decode.go#L379: switch tok.value {
text_decode.go#L386: if x, err := strconv.ParseInt(tok.value, 0, 32); err == nil {
text_decode.go#L393: if strings.HasPrefix(tok.value, "0x") {
text_decode.go#L394: if x, err := strconv.ParseUint(tok.value, 0, 32); err == nil {
text_decode.go#L399: if x, err := strconv.ParseInt(tok.value, 0, 64); err == nil {
text_decode.go#L406: if strings.HasPrefix(tok.value, "0x") {
text_decode.go#L407: if x, err := strconv.ParseUint(tok.value, 0, 64); err == nil {
text_decode.go#L412: if x, err := strconv.ParseUint(tok.value, 0, 32); err == nil {
text_decode.go#L416: if x, err := strconv.ParseUint(tok.value, 0, 64); err == nil {
text_decode.go#L422: v := tok.value
text_decode.go#L432: v := tok.value
text_decode.go#L440: if isQuote(tok.value[0]) {
text_decode.go#L444: if isQuote(tok.value[0]) {
text_decode.go#L448: if x, err := strconv.ParseInt(tok.value, 0, 32); err == nil {
text_decode.go#L451: vd := fd.Enum().Values().ByName(protoreflect.Name(tok.value))
text_decode.go#L457: switch tok.value {
text_decode.go#L463: return v, p.errorf("expected '{' or '<', found %q", tok.value)
text_decode.go#L470: return v, p.errorf("invalid %v: %v", fd.Kind(), tok.value)
text_decode.go#L480: if tok.value != ":" {
text_decode.go#L482: return p.errorf("expected ':', found %q", tok.value)
text_decode.go#L498: if len(tok.value) > 2 && isQuote(tok.value[0]) && tok.value[len(tok.value)-1] == tok.value[0] {
text_decode.go#L499: name, err := unquoteC(tok.value[1:len(tok.value)-1], rune(tok.value[0]))
text_decode.go#L508: for tok.value != "]" {
text_decode.go#L509: parts = append(parts, tok.value)
text_decode.go#L514: if p.done && tok.value != "]" {
text_decode.go#L528: if tok.value != ";" && tok.value != "," {
text_decode.go#L579: p.cur.value, p.s = p.s[0:1], p.s[1:len(p.s)]
text_decode.go#L599: p.cur.value, p.s = p.s[0:i+1], p.s[i+1:len(p.s)]
text_decode.go#L610: p.cur.value, p.s = p.s[0:i], p.s[i:len(p.s)]
text_decode.go#L612: p.offset += len(p.cur.value)
text_decode.go#L627: p.cur.value = ""
text_decode.go#L628: } else if len(p.cur.value) > 0 && isQuote(p.cur.value[0]) {
text_decode.go#L641: cat.value += " " + p.cur.value
text_decode.go#L655: if tok.value != s {
text_decode.go#L657: return p.errorf("expected %q, found %q", s, tok.value)